package me.jessyan.armscomponent.app.di.component;

import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;
import me.jessyan.armscomponent.app.di.module.PlanDetailModule;
import me.jessyan.armscomponent.app.mvp.contract.learn.PlanDetailContract;
import me.jessyan.armscomponent.app.mvp.ui.activity.learn.PlanDetailActivity;


/**
 * <p>
 * Author: Taozebi
 * Date: 08/16/2021 18:15
 * Description: describe of this class
 */
@ActivityScope
@Component(modules = PlanDetailModule.class, dependencies = AppComponent.class)
public interface PlanDetailComponent {
    void inject(PlanDetailActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        PlanDetailComponent.Builder view(PlanDetailContract.View view);

        PlanDetailComponent.Builder appComponent(AppComponent appComponent);

        PlanDetailComponent build();
    }
}